import Layout from '../../layout/layout.vue';

export default [
  {
    path: '/home',
    name: 'Home',
    component: () => import('../../views/home.vue')
  },
  {
    path: '/test',
    name: 'Test',
    component: () => import('../../views/test.vue')
  },
  {
    path: '/form',
    name: 'Form',
    component: () => import('../../views/form.vue')
  },
  {
    path: '/',
    component: Layout,
    redirect: '/home',
    name: 'MainStage',
    children: [
      {
        path: '/about',
        name: 'About',
        component: () => import('../../doc/table.md')
      },
      {
        path: '/table',
        name: 'Table',
        component: () => import('../../doc/table.md')
      }
    ]
  },
  {
    path: '/search',
    name: 'Search',
    component: () => import('../../views/search.vue')
  },

  {
    path: '/desc',
    name: 'Desc',
    component: () => import('../../views/desc.vue')
  }
];
